package com.aaa.backsystem.service;

import com.aaa.backsystem.entity.Dept;
import com.aaa.backsystem.entity.PetrolStation;
import com.aaa.backsystem.entity.PetrolStationVo;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gyc
 * @since 2020-07-23
 */
public interface PetrolStationService extends IService<PetrolStation> {
    List<PetrolStation> selectByPetrolStationId(Integer petrolStationId);

    List<Dept> selectDept(Integer deptId);

    List<PetrolStationVo> findAllPetrolStationAndDeptName(Page<PetrolStationVo> pageInfo, Map<String, Object> condition);
}
